<h2>My Reviews</h2>

<?php
$reviews = $this->reviews;

if (0 == sizeof($reviews))
{
	?>
	<p>No items found.</p>
	<?php
}
else
{
	?>
	<div class="grid_11 alpha omega">
		<?php
		foreach ($reviews as $item)
		{
			$postDate = date('h:i A, d M Y',strtotime($item['post_date']));
			?>
			<div class="grid_8 alpha"><h3><?php echo ($item['restaurant_name']?$this->escape($item['restaurant_name']):'Horned Frog Delivery service'); ?></h3></div>
			<div class="grid_3 omega"><?php echo $postDate; ?></div>
			<div class="clear"></div>
			<div class="grid_11 alpha omega"><p><?php echo $this->escape($item['review']); ?></p></div>
			<div class="clear"></div>
			<?php
		}
		?>
	</div>
	<div class="clear"></div>
	<?php
	echo $this->paginationControl($this->reviews, 'Sliding', 'pagination.phtml');
}